namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 记录 -设备异常信息
    /// </summary>
    public DbSet<POWmsEquipErr> WmsEquipErrs { get; set; }
}

/// <summary>
/// 记录 -设备异常信息
/// 表[wms_equip_err]
/// </summary>
[Table("wms_equip_err")]
public class POWmsEquipErr
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wms_equip_err.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 设备Id
    /// [wms_equip_err.equip_id)]
    /// </summary>
    [Column("equip_id")]
    public long? EquipId { get; set; }
    /// <summary>
    /// 异常编号
    /// [wms_equip_err.err_code)]
    /// </summary>
    [Column("err_code")]
    public int? ErrCode { get; set; }
    /// <summary>
    /// 异常信息
    /// [wms_equip_err.err_msg)]
    /// </summary>
    [Column("err_msg")]
    public string ErrMsg { get; set; }
    /// <summary>
    /// 任务号
    /// </summary>
    [Column("task_no")]
    public int? TaskNo { get; set; }
    /// <summary>
    /// 任务号
    /// </summary>
    [Column("task_no2")]
    public int? TaskNo2 { get; set; }
    /// <summary>
    /// 开始时间
    /// [wms_equip_err.begin_time)]
    /// </summary>
    [Column("begin_time")]
    public DateTime? BeginTime { get; set; }
    /// <summary>
    /// 结束时间
    /// [wms_equip_err.end_time)]
    /// </summary>
    [Column("end_time")]
    public DateTime? EndTime { get; set; }
    /// <summary>
    /// 说明
    /// [wms_equip_err.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// 创建时间
    /// [wms_equip_err.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wms_equip_err.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wms_equip_err.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// [wms_equip_err.err_code_arr)]
    /// </summary>
    [Column("err_code_arr")]
    public string ErrCodeArr { get; set; }
}
